import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import * as echarts from 'echarts'
const echarts = require('echarts')
Vue.prototype.$echarts = echarts
import './styles/index.less'
import scroll from 'vue-seamless-scroll' // 无缝滚动
import VueAwesomeSwiper from 'vue-awesome-swiper' // 轮播-||如需使用更高版本，务必安装swiper
import 'swiper/dist/css/swiper.css'
// import '@/utils/rem' // 不需要如此使用了，因为使用postcss-pxtorem插件
Vue.use(scroll).use(VueAwesomeSwiper)
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
